﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bzure.Common.Core
{
    public interface IContractVersion
    {
        /// <summary>
        /// 契约实现的版本号
        /// </summary>
        float ContractVersion { get; }
    }
    public interface IContractMetadata
    {
        string ProviderName { get; }
    }
    /// <summary>
    /// 契约工厂接口
    /// </summary>
    /// <typeparam name="Contract"></typeparam>
    public interface IContractFactory<Contract> : IContractVersion
    {
        Contract Build();
    }
}
